#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;

//类定义
class Point
{
    private:
        int x,y;
    public:
        void setPoint(int _x,int _y);
        int getX();
        int getY();
};

class Circle
{
    private:
        int x,y,r;
    public:
        void setCenter(int _x,int _y);
        void setRadius(int _r);
        double getArea();
        double getLength();
        friend bool Judge(Point& s1,Circle& s2);
};

//类实现
void Point::setPoint(int _x,int _y)
{
    x=_x;
    y=_y;
}
int Point::getX()
{
    return x;
}
int Point::getY()
{
    return y;
}

void Circle::setCenter(int _x,int _y)
{
    x=_x;
    y=_y;
}
void Circle::setRadius(int _r)
{
    r=_r;
}
double Circle::getArea()
{
    return 3.14*r*r;
}
double Circle::getLength()
{
    return 2*3.14*r;
}

//判断函数
bool Judge(Point& s1,Circle& s2)
{
    int xx=s1.getX();
    int yy=s1.getY();
    int cx=s2.x;
    int cy=s2.y;
    int cr=s2.r;
    if((xx-cx)*(xx-cx)+(yy-cy)*(yy-cy)<=cr*cr)
        return true;
    return false;
}
//主函数
int main()
{
    int _x,_y,_r;
    int px,py;
    cin>>_x>>_y>>_r;
    cin>>px>>py;
    Point s1;
    Circle s2;
    s1.setPoint(px,py);
    s2.setCenter(_x,_y);
    s2.setRadius(_r);
    cout<<fixed<<setprecision(2)<<s2.getArea()<<" "<<s2.getLength()<<endl;
    if(Judge(s1,s2))
        cout<<"yes"<<endl;
    else
        cout<<"no"<<endl;
}